#Global Constants:
Write-Host "Loading Variable Values..."
if($AnyKey -eq 1)
{
	Write-Host "Press any key to continue ..."
	$x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
}

#The name of the S3 bucket installer files are in
$bucketname = "mybucket"
#The folder path your installer files are in
$bucketpath="/install/"
#Username of the user to run ICNET services as
$Username='ICNET USER NAME'
#Password of the user to run ICNET services as
$Password='SOME PASSWORD'
#The root directory for installer files
$DLInstallerDir="z:\install\"
#Filename of the install zip file
$ICNETInstallerFile="AWSInstall.zip"
#A username of a local admin
$LocalUserName="SOME USER NAME"
#A password for the local admin
$LocalUserPass="SOME PASSWORD"
#Whether you want the "press any key to continue" messages to come up
$AnyKey=1
#What AWS Region should we use
$AWSRegion = "us-east-1"
#SSL Options
#Whether you should do a SSL install or not
#1=yes
$DoSSL=0
#Name of a zip file that contains cer files of trusted CA's to install
$CACertsZip="SOME ZIP FILE OF CA CERTS"
#Filename of the pfx file for the server cert
$SSLCert="SOME PFX FILE"
#Port to run SSL on
$SSLPort=443
#Password for the pfx file
$SSLCertPW="SOME PASSWORD"

#Below is stuff you probably don't need to change
#The network service.
$NetSvc = "NETWORK SERVICE"
#Just get the current dir
$InstallerRoot=pwd
#Path to install REST Services
$icnetIISPath="c:\inetpub\icnet\"
#Path to install files / tools
$icnetInstallPath="c:\ICNET\"
#Name of the REST Services Application Pool
$RESTAppPool="ICNETRest"
#Name of the IIS Site to host ICNET REST
$IISSite="ICNET"
#REST port
$Port=80
#Filename of the URLRewrite Installer msi
$URLRewriteInstall="rewrite_2.0_rtw_x64.msi"
#Path to choclatey install
$ChocInstall="c:\ProgramData\chocolatey\chocolateyinstall\"